﻿using MengLin.OOP.DesignPattern.BridgePattern.DiffBrandPhoneDiffSystem.Bridge.Memory.Interface;
using MengLin.OOP.DesignPattern.BridgePattern.DiffBrandPhoneDiffSystem.Bridge.System.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MengLin.OOP.DesignPattern.BridgePattern.DiffBrandPhoneDiffSystem.Bridge
{
    public abstract class AbstractBasePhoneBridge
    {
        /// <summary>
        /// 操作系统
        /// </summary>
        public ISystem System { get; set; }

        /// <summary>
        /// 内存大小
        /// </summary>
        public IMemory Memory { get; set; }

        /// <summary>
        /// 打电话
        /// </summary>
        public abstract void Call();

        /// <summary>
        /// 发短信
        /// </summary>
        public abstract void SendMessage();
    }
}
